﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;

namespace Skynet.MeshFoundation.Services
{
    public class SyncService  :  ISyncService
    {
        [Dependency]
        public Skynet.MeshFoundation.SkynetSyncSyncAgent Agent { get; set; }
        
        public void SyncApplication()
        {
            Agent.ExamCategories.SyncDirection = Microsoft.Synchronization.Data.SyncDirection.Bidirectional;
            Agent.Synchronize();
        }
    }
}
